
<%= render :partial=>"filter_tab" %>

<table class="lister">
  <thead>
    <tr>
      <td width="5%">Rank</td>
      <td width="17.5%">Name</td>
      <td width="17.5%">Score</td>
      <td width="60%">Next Bet</td>
    </tr>
  </thead>
  <tbody>
    <% @users.each_with_index do |user,index| %>
      <tr>
        <td class="boldfont" style="font-size:17px;" height="115" width="5%"> <%= index + 1 %> </td>
        <td>
          <p><%= fb_profile_pic user,{:size=>:square} %></p>
          <p><%= fb_name user %></p>
        </td>
        <td> <%= user.score %></td>
        <td> <%= user_next_bet user %> </td>
      </tr>
    <% end %>
  </tbody>
</table>

<%= render :partial=>"filter" %>
<br/><center><hr width="25%" size="0.5px" color="#a7a7a7"></center><br/><br/>
<%= render :partial=>"invite_leaderboards" %>
